#include "timer_1234.h"
#include "gpio.h"

#define periode_PWM 20. //milliseconde
#define PWM_max 2. 
#define PWM_min	1.

void init_servomoteur();

void border_voile(float rapport_PWM);

float transformer_en_PWM (float pourcentage_angle_bras) ;

float transfo_angle_girouette (float angle_girouette);
